<template>
  <div><p>left</p>
  <div>
      <button @click="submit">提交</button>
  </div>
  </div>
  
</template>

<script>
import common from "../../bus/index" 
export default {
    data() {
        return {
            leftmsg:'left的数据'
        }
    },
    methods: {
        submit() {
           common.$emit('send', this.leftmsg)
        }
    },
}
</script>

<style>

</style>